﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SecurityLog.Models
{
    public class SingleEntryViewModel
    {
        public int ID { get; set; }
        public DateTime dateCreated { get; set; }
        public string body { get; set; }
        public string userName { get; set; }
        public string category { get; set; }
    }


    public class LogViewModel
    {
        public IEnumerable<SingleEntryViewModel> Log { get; set; }
        public IEnumerable<Category> CategoryList { get; set; }
    }
    
}